package com.ruicar.afs.cloud.channel.grade.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description:指标公式中涉及到的数据项
 * @param:
 * @return:
 * @auther: jiangxiongfei
 * @date: 2020-08-12 14:41
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("grade_model_sub_dataelement")
public class GradeModelSubDataelement extends Model<GradeModelSubDataelement> {
    @ApiModelProperty(value = "物理主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty(value = "评级结果id")
    private Long resultDtlId;
    @ApiModelProperty(value = "指标名称")
    private String subGradeName;
    @ApiModelProperty(value = "指标编号")
    private String subGradeCode;
    @ApiModelProperty(value = "指标值")
    private String subGradeValue;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "最后一次更新人操作号")
    private Long lastUpdTlr;
    @ApiModelProperty(value = "上次操作XX")
    private String lastUpdFun;
    @ApiModelProperty(value = "最后一次更新日期")
    private Date lastUpdDate;
}
